package com.stormrage.entity.student.rep;

import java.io.Serializable;

import com.stormrage.entity.learn.LeaBunch;

public class LeaBunchNoticeRep implements Serializable {

	// ------------------------------- Fields -------------------------------

	private static final long serialVersionUID = 7699012844941895086L;

	// ------------------------------- Fields -------------------------------

	private Integer seq;

	private Integer id;

	private String bunch;

	private Integer count;

	// ------------------------------- Fields -------------------------------

	public LeaBunchNoticeRep() {
	}

	// ------------------------------- Fields -------------------------------

	public Integer getSeq() {
		return seq;
	}

	public void setSeq(Integer seq) {
		this.seq = seq;
	}

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getBunch() {
		return bunch;
	}

	public void setBunch(String bunch) {
		this.bunch = bunch;
	}

	public Integer getCount() {
		return count;
	}

	public void setCount(Integer count) {
		this.count = count;
	}

	// ------------------------------- Fields -------------------------------

	public static LeaBunchNoticeRep instance(LeaBunch arg0, Integer seq, Integer count) {
		LeaBunchNoticeRep entity = new LeaBunchNoticeRep();
		entity.setSeq(seq);
		entity.setId(arg0.getId());
		entity.setBunch(arg0.getBunch());
		entity.setCount(count);
		return entity;
	}

	@Override
	public String toString() {
		return this.getClass() + " : seq - " + seq + " id - " + id + " bunch - " + bunch + " count - " + count;
	}

}
